package com.mallcai.bigdata.ladon.vo.args.component;

import com.mallcai.bigdata.ladon.vo.args.ComponentType;
import lombok.Data;

import java.io.Serializable;

/**
 * Created by oneape<oneape15@163.com>
 * Created 2019-07-29 17:31.
 * Modify:
 */
@Data
public class BaseComponent implements Serializable {
    private ComponentType type;         // 组件类型
    private String        defaultValue; // 默认值
    private String        placeholder;  // 提示信息
    private String        errMessage;   // 错误提示信息

    public BaseComponent(ComponentType type) {
        this.type = type;
    }

}
